<div class="window signup">
    <div class="windowBar"><?PHP echo $title; ?></div>
    <div class="windowContent">
        <form method="post" action="<?PHP echo baseUrl(); ?>signup/submit" accept-charset="UTF-8">
            <fieldset class="fieldset1">
                <?PHP if (isset($errors)): ?>
                    <dl> 
                        <dd>
                            <div id="error">
                                <?PHP foreach ($errors as $error): ?>
                                    <?PHP echo $error ?><br />
                                <?PHP endforeach; ?>
                            </div>
                        </dd>
                    </dl>
                <?PHP endif; ?>
                <dl><dd><strong>Please note that you will need to enter a valid e-mail address before your account is activated. You will receive an e-mail at the address you provide that contains an account activation link.</strong></dd></dl>
                <dl>
                    <dt><label for="userName">User name:</label><br /><span>Length must be between 3 and 20 characters.</span></dt>
                    <dd><input type="text" tabindex="1" id="userName" name="userName" size="35" maxlength="20" value="<?PHP echo setValue('userName'); ?>"/><br />
                        <div id="userconsole"></div></dd>
                </dl>
                <dl>
                    <dt><label for="email">E-mail address:</label></dt>
                    <dd><input type="text" tabindex="2" id="email" name="email" size="35" maxlength="100" value="<?PHP echo setValue('email'); ?>" /></dd>
                </dl>
                <dl>
                    <dt><label for="confirmEmail">Confirm e-mail address:</label></dt>
                    <dd><input type="text" tabindex="3" id="confirmEmail" name="confirmEmail" size="35" maxlength="100" value="<?PHP echo setValue('confirmEmail'); ?>"/></dd>
                </dl>
                <dl>
                    <dt><label for="password">Password:</label><br /><span>Must be between 6 and 15 characters.</span></dt>
                    <dd><input type="password" tabindex="4" id="password" name="password" size="35" maxlength="15" value="<?PHP echo setValue('password'); ?>" /></dd>
                </dl>
                <dl>
                    <dt><label for="confirmPassword">Confirm password:</label></dt>
                    <dd><input type="password" tabindex="5" id="confirmPassword" name="confirmPassword" size="35" maxlength="15" value="<?PHP echo setValue('confirmPassword'); ?>" /></dd>
                </dl>
                <dl>
                    <dt><label for="timezone">Timezone:</label></dt>
                    <dd>
                        <select id="timezone" tabindex="7" name="timezone">
                            <?php foreach ($timezones as $key => $value): ?>
                                <option value="<?php echo $key; ?>"<?php echo setSelect('timezone', $key, 0); ?>><?php echo $value; ?></option>
                            <?php endforeach; ?>
                        </select><br />
                    </dd>
                </dl>
            </fieldset>
            <fieldset class="submit-buttons">
                <input class="button" type="submit" name="submit" value="Submit" /> 
            </fieldset>
        </form>
    </div>
</div>